home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / infosrvr / dev / scott / WWW / NextStep / Implementation / old / HTTP.h < prev    next >
C/C++ Source or Header  |  1991-05-10  |  646b  |  25 lines

  1. /*    HyperText Tranfer Protocol                    HTTP.h
  2. **    ==========================
  3. */
  4.  
  5.  
  6. /*        Open Socket for reading from HTTP Server        HTTP_get()
  7. **        ========================================
  8. **
  9. **    Given a hypertext address, this routine opens a socket to the server,
  10. **    sends the "get" command to ask for teh node, and then returns the
  11. **    socket to the caller. The socket must later be closed by the caller.
  12. **
  13. ** On entry,
  14. **    arg    is the hypertext reference of the article to be loaded.
  15. ** On exit,
  16. **    returns    >=0    If no error, a good socket number
  17. **        <0    Error.
  18. **
  19. */
  20. #ifdef __STDC__
  21. extern int HTTP_Get(const char * arg);
  22. #else
  23. extern int HTTP_Get();
  24. #endif
  25.